public class QueueElement {
	private StringNode label;
	private int length;
	private QueueElement prev;

	public QueueElement(StringNode label,QueueElement prev) {
		this.label = label;
		this.prev = prev;
	}

	public StringNode getNode() {
		return label;
	}

	public QueueElement getPrev() {
		return prev;
	}
	
	public int getLength() {
		return length;
	}

	public void setPrev(QueueElement prev) {
		this.prev = prev;
	}
}


